Skip to content

fix(shortcuts): give Peek Flat Scan its own key, M, instead of | - #912

Merged
marcinz606 merged 12 commits into
marcinz606:mainfrom
thetalkingdrum:fix/flat-peek-shortcut-key
Aug 19, 2026
Merged

fix(shortcuts): give Peek Flat Scan its own key, M, instead of |#912
marcinz606 merged 12 commits into
marcinz606:mainfrom
thetalkingdrum:fix/flat-peek-shortcut-key

Conversation

@thetalkingdrum

Copy link
Copy Markdown
Contributor

Summary

  • toggle_flat_peek's default was |, while its sibling Peek Negative got a
    plain, one-tap mnemonic key (N). On Nordic ISO keyboards (Norwegian,
    Swedish, Danish, Finnish) | isn't its own key at all — it's AltGr plus
    the < > key to the left of Z, a three-finger reach compared to a bare
    tap. In practice that made the shortcut feel broken rather than just
    inconvenient.
  • Rebound to M, for "flat master" (the app's own name for this output:
    state.flat_peek, "digital intermediate", "flat master render"). It also
    sits right next to N, so the two peek shortcuts are now a natural pair on
    the keyboard, not just in the code.
  • Confirmed no other action's default binding already claims M.

Test plan

  • make all (lint + type check + full test suite)
  • tests/test_shortcut_registry.py::test_no_two_actions_claim_the_same_default_key
    still passes
  • Verified live: bound key resolves to a single QShortcut, and invoking it
    through the action dispatcher correctly flips flat_peek state

🤖 Generated with Claude Code

@marcinz606
marcinz606 merged commit 468c1a9 into marcinz606:main Aug 19, 2026
1 check failed
@thetalkingdrum
thetalkingdrum deleted the fix/flat-peek-shortcut-key branch August 20, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants